import request from '@/utils/request'

export function getFaultOne() {
  return request({
    url: '/fault/pie/info_one',
    method: 'GET'
  })
}

export function getFaultTwo(faultLocationOne) {
  return request({
    url: '/fault/pie/info_two',
    method: 'GET',
    params: { faultLocationOne }
  })
}

export function getItem() {
  return request({
    url: '/fault/pie/info_check',
    method: 'GET'
  })
}
